package com.ruoyi.wq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 陪玩订单对象 wq_play_order
 * 
 * @author ruoyi
 * @date 2023-09-11
 */
public class WqPlayOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 几单 */
    @Excel(name = "几单")
    private Integer playNum;
    
    private Integer playCoin;
    
    private Integer payCoin;

    /** 代理用户 */
    @Excel(name = "代理用户")
    private Long shareUserId;

    /** 陪玩用户 */
    @Excel(name = "陪玩用户")
    private Long playUserId;

    /** 下单用户 */
    @Excel(name = "下单用户")
    private Long userId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPlayNum(Integer playNum) 
    {
        this.playNum = playNum;
    }

    public Integer getPlayNum() 
    {
        return playNum;
    }
    public Integer getPlayCoin() {
		return playCoin;
	}

	public void setPlayCoin(Integer playCoin) {
		this.playCoin = playCoin;
	}

	public Integer getPayCoin() {
		return payCoin;
	}

	public void setPayCoin(Integer payCoin) {
		this.payCoin = payCoin;
	}

	public void setShareUserId(Long shareUserId) 
    {
        this.shareUserId = shareUserId;
    }

    public Long getShareUserId() 
    {
        return shareUserId;
    }
    public void setPlayUserId(Long playUserId) 
    {
        this.playUserId = playUserId;
    }

    public Long getPlayUserId() 
    {
        return playUserId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("playNum", getPlayNum())
            .append("shareUserId", getShareUserId())
            .append("playUserId", getPlayUserId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
